package entity;

import java.security.Timestamp;

public class WxUser {

    private int id;

    private String username;

    private String password;

    private String openid;

    private String sex;

    private String city;

    private Timestamp create_time;

    private Timestamp update_time;



    /*创建类的构造方法*/

    public WxUser(){};



    public WxUser(int id,String username,String password,String openid,String sex,String city){

        this.id=id;

        this.username=username;

        this.password=password;

        this.openid=openid;

        this.sex=sex;

        this.city=city;

    }



    /**

     * 下面所示的方法是所有属性的get和set方法

     */

    public int getId() {

        return id;

    }



    public void setId(int id) {

        this.id = id;

    }



    public String getUsername() {

        return username;

    }



    public void setUsername(String username) {

        this.username = username;

    }



    public String getPassword() {

        return password;

    }



    public void setPassword(String password) {

        this.password = password;

    }



    public String getOpenid() {

        return openid;

    }



    public void setOpenid(String openid) {

        this.openid = openid;

    }



    public String getSex() {

        return sex;

    }



    public void setSex(String sex) {

        this.sex = sex;

    }



    public String getCity() {

        return city;

    }



    public void setCity(String city) {

        this.city = city;

    }



    public Timestamp getCreate_time() {

        return create_time;

    }



    public void setCreate_time(Timestamp create_time) {

        this.create_time = create_time;

    }



    public Timestamp getUpdate_time() {

        return update_time;

    }



    public void setUpdate_time(Timestamp update_time) {

        this.update_time = update_time;

    }

}